#include "cpptest.h"

CPPTEST_CONTEXT("/UnitTestDemo/RevenueAccount-v0.5.cpp");
CPPTEST_TEST_SUITE_INCLUDED_TO("/UnitTestDemo/RevenueAccount-v0.5.cpp");

class TestSuite_RevenueAccount2dv02e5_cpp_573a1108 : public CppTest_TestSuite
{
    public:
        CPPTEST_TEST_SUITE(TestSuite_RevenueAccount2dv02e5_cpp_573a1108);
        CPPTEST_TEST(test_CalculateRevenue_1);
        CPPTEST_TEST(test_CalculateRevenue_10);
        CPPTEST_TEST(test_CalculateRevenue_2);
        CPPTEST_TEST(test_CalculateRevenue_3);
        CPPTEST_TEST(test_CalculateRevenue_4);
        CPPTEST_TEST(test_CalculateRevenue_5);
        CPPTEST_TEST(test_CalculateRevenue_6);
        CPPTEST_TEST(test_CalculateRevenue_7);
        CPPTEST_TEST(test_CalculateRevenue_8);
        CPPTEST_TEST(test_CalculateRevenue_9);
        CPPTEST_TEST_SUITE_END();
        
        void setUp();
        void tearDown();

        void test_CalculateRevenue_1();
        void test_CalculateRevenue_10();
        void test_CalculateRevenue_2();
        void test_CalculateRevenue_3();
        void test_CalculateRevenue_4();
        void test_CalculateRevenue_5();
        void test_CalculateRevenue_6();
        void test_CalculateRevenue_7();
        void test_CalculateRevenue_8();
        void test_CalculateRevenue_9();
};

CPPTEST_TEST_SUITE_REGISTRATION(TestSuite_RevenueAccount2dv02e5_cpp_573a1108);

void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::setUp()
{
}

void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::tearDown()
{
}

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_1 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_1()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = 1;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_1 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_10 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_10()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = 1.0;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_10 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_2 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_2()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = 0.9;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_2 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_3 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_3()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = 0.8;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_3 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_4 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_4()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = 0.7;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_4 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_5 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_5()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = -1;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_5 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_6 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_6()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = 4800;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_6 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_7 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_7()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = 0;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_7 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_8 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_8()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = cpptestLimitsGetMaxNegDouble();
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_8 */

/* CPPTEST_TEST_CASE_BEGIN test_CalculateRevenue_9 */
/* CPPTEST_TEST_CASE_CONTEXT double CalculateRevenue(double) */
void TestSuite_RevenueAccount2dv02e5_cpp_573a1108::test_CalculateRevenue_9()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (amount) */ 
    double _amount  = -1.0;
    /* Tested function call */
    double _return  = ::CalculateRevenue(_amount);
    /* Post-condition check */
    CPPTEST_POST_CONDITION_FLOAT("double _return", ( _return ));
}
/* CPPTEST_TEST_CASE_END test_CalculateRevenue_9 */
